package com.icexxx.lathe;

import java.io.Serializable;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "lathe", ignoreUnknownFields = true)
public class LatheProperties implements Serializable {

    /**
     * 序列化
     */
    private static final long serialVersionUID = 2172390691044850199L;
    /**
     * 响应消息code键名称
     */
    private String code;
    /**
     * 响应消息message键名称
     */
    private String msg;
    /**
     * redis存储数据的超时时间
     */
    private String timeout;
    /**
     * 重复提交时返回的错误消息
     */
    private String message;
    /**
     * 重复提交时返回的错误代码
     */
    private String codeValue;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTimeout() {
        return timeout;
    }

    public void setTimeout(String timeout) {
        this.timeout = timeout;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }
}
